#include <stdio.h>
#include <math.h>

int Fib(int num,int i){
	if(num == 0)
		return 0;
	return (num%10%2)*(int)pow(10,i)+Fib(num/10,++i);
}

int main(){
	int num = 0;
	int i = 0;
	scanf("%d",&num);
	printf("%d\n",Fib(num,i));
	return 0;
}

